﻿namespace learun.util
{

    /// 创建人：tobin
    /// 日 期：2019.09.05
    /// 描 述：服务配置
    /// </summary>
    public class ServerOp
    {
        //是否写数据库
        public string WriteDBLog { get; set; }
        


        /// <summary>
        /// 软件名称
        /// </summary>
        public string SoftName { get; set; }
        /// <summary>
        /// 软件版本号
        /// </summary>
        public string Version { get; set; }
        
        /// <summary>
        /// 数据库连接
        /// </summary>
        public string dbConn { get; set; }

        /// <summary>
        /// 数据库连接
        /// </summary>
        public string U8 { get; set; }
        /// <summary>
        /// 数据库类型 SqlServer,Oracle,MySql
        /// </summary>
        public string dbType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string xcqczj { get; set; }
        public string xcczorcal { get; set; }
        public string xcqorcal { get; set; }
        public string Ortype { get; set; }
        /// <summary>
        /// 缓存前缀
        /// </summary>
        public string RedisPrev { get; set; }
        /// <summary>
        /// 缓存地址
        /// </summary>
        public string RedisExchangeHosts { get; set; }
        /// <summary>
        /// 服务目录
        /// </summary>
        public string VirtualPath { get; set; }

        /// <summary>
        /// 皮肤配置
        /// </summary>
        public string UItheme { get; set; }

        /// <summary>
        /// IM地址
        /// </summary>
        public string IMUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Business { get; set; }
        /// <summary>
        /// IM地址
        /// </summary>
        public string ICWarning { get; set; }
        /// <summary>
        /// 预算接口
        /// </summary>
        public string ZB { get; set; }

        public string RequestForbidWord { get; set; }
        public string YE { get; set; }
        /// <summary>
        /// 支付接口
        /// </summary>
        public string ZF { get; set; }
        /// <summary>
        /// 产权交易中心接口地址
        /// </summary>
        public string asset { get; set; }
        /// <summary>
        /// 资产公司接口
        /// </summary>
        public string asseturl { get; set; }
        /// <summary>
        /// 产权交易中心接口地址
        /// </summary>
        public string key { get; set; }
        /// <summary>
        /// 产权交易中心接口地址
        /// </summary>
        public string secret { get; set; }
        public string desKey { get; set; }
        /// <summary>
        /// 产交中心区域代码
        /// </summary>
        public string areacode { get; set; }
        /// <summary>
        /// 即时服务是否打开
        /// </summary>
        public bool IMOpen { get; set; }

        /// <summary>
        /// 发出邮箱设置邮箱主机
        /// </summary>
        public string MailHost { get; set; }
        /// <summary>
        /// 发出邮箱的名称
        /// </summary>
        public string MailName { get; set; }
        /// <summary>
        /// 发出邮箱的地址
        /// </summary>
        public string MailUserName { get; set; }
        /// <summary>
        /// 发出邮箱的密码
        /// </summary>
        public string MailPassword { get; set; }

        /// <summary>
        /// 企业号ID
        /// </summary>
        public string CorpId { get; set; }
        /// <summary>
        /// 企业号管理密钥
        /// </summary>
        public string CorpSecret { get; set; }
        /// <summary>
        /// 企业应用的id，整型。可在应用的设置页面查看
        /// </summary>
        public string CorpAppId { get; set; }
        /// <summary>
        /// 百度编辑器图片地址
        /// </summary>
        public string UeditorImg { get; set; }

        /// <summary>
        /// JWT认证密钥
        /// </summary>
        public string JwtSecret { get; set; }
        /// <summary>
        /// JWT认证过期时间
        /// </summary>
        public int JwtExp { get; set; }

        public string Issuer { get; set; }
        public string Audience { get; set; }

        /// <summary>
        /// 附件存放地址（主要是考虑到api 和 web 两部分）
        /// </summary>
        public string AnnexesFile { get; set; }

    }
}
